#pragma once
#include "CommercialBuilding.h"
class FoodEnterpriseBuilding :
	public CommercialBuilding
{
protected:
	int maxNumberOfGuests;
public:

	FoodEnterpriseBuilding() : maxNumberOfGuests(-1) { }

	FoodEnterpriseBuilding(string info, int maxNumberOfGuests)
		: CommercialBuilding(info)
	{
		this->maxNumberOfGuests = maxNumberOfGuests;
	}

	~FoodEnterpriseBuilding()
	{
	}

	void setMaxNumberOfGuests(int maxNumberOfGuests){ this->maxNumberOfGuests = maxNumberOfGuests; }
	int getMaxNumberofGuests(){ return maxNumberOfGuests; }

	virtual void Print()
	{
		CommercialBuilding::Print();
		cout << ", Max number of guests: " << maxNumberOfGuests;
	}
};

